package com.news.entity;

import java.util.Date;

/**
 * 新闻表
 * 
 * @author Administrator
 *
 */
public class News_Detail {
	/**
	 * 新闻id
	 */
	private int id;
	/**
	 * 新闻分类
	 */
	private News_Category news_Category;
	/**
	 * 新闻标题
	 */
	private String title;
	/**
	 * 新闻摘要
	 */
	private String summary;
	/**
	 * 作者
	 */
	private String author;
	/**
	 * 创建时间
	 */
	private Date createdate;

	/**
	 * 读取新闻id
	 * 
	 * @return
	 */
	public int getId() {
		return id;
	}

	/**
	 * 写入新闻id
	 * 
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * 读取分类
	 * 
	 * @return
	 */
	public News_Category getNews_Category() {
		return news_Category;
	}

	/**
	 * 写入分类
	 * 
	 * @param news_Category
	 */
	public void setNews_Category(News_Category news_Category) {
		this.news_Category = news_Category;
	}

	/**
	 * 读取标题
	 * 
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * 写入标题
	 * 
	 * @param title
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 读取新闻摘要
	 * 
	 * @return
	 */
	public String getSummary() {
		return summary;
	}

	/**
	 * 写入新闻摘要
	 * 
	 * @param summary
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * 读取作者
	 * 
	 * @return
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * 写入作者
	 * 
	 * @param author
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * 读取创建时间
	 * 
	 * @return
	 */
	public Date getCreatedate() {
		return createdate;
	}

	/**
	 * 写入创建时间
	 * 
	 * @param createdate
	 */
	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

}
